package com.longma.server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.longma.server.entity.InspectionPlan;
import com.longma.server.pojo.dto.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HAIBO
 * @since 2021-04-28
 */
public interface IInspectionPlanService {
    InspectionPlan addInspectionPlan(InspectionPlanDTO inspectionPlanDTO);
    boolean deleteInspectionPlanByIds(List<Integer> ids);
    boolean deleteInspectionPlanById(Integer id);
    IPage<InspectionPlan> getInspectionPlanByPage(Long pageNum, Long pageSize, Boolean all, List<AdvanceQueryConditionDTO> conditions);
    InspectionPlan updateInspectionPlan(InspectionPlanUpdateDTO updateRequestDTO);
}
